package com.system.handle.utils;

import java.util.Map;

import com.system.comm.utils.FrameBeanUtil;
import com.system.handle.model.ResponseFrame;

public class ResponseUtil {

	public static <T> T getBean(ResponseFrame frame, Class<?> clazz) {
		Map<String, Object> body = frame.getBody();
		return FrameBeanUtil.toBean(body, clazz);
	}
}
